package com.liutaw.nanjingair.models;

/**
 * Created by liutao on 16/2/19.
 */
public class WeatherProduct {
    public static WeatherProduct getInstance(String name,int resId) {
        WeatherProduct product = new WeatherProduct();
        product.setIconRes(resId);
        product.setName(name);
        return product;
    }
    private String name;
    private int iconRes;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIconRes() {
        return iconRes;
    }

    public void setIconRes(int iconRes) {
        this.iconRes = iconRes;
    }
}
